// WARNING: THIS FILE IS MANAGED BY SPRING ROO.

package npap.cater.unr.edu.client.request;

import com.google.web.bindery.requestfactory.shared.InstanceRequest;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.ServiceName;
import org.springframework.roo.addon.gwt.RooGwtRequest;

@RooGwtRequest("npap.cater.unr.edu.client.domain.File")
@ServiceName("npap.cater.unr.edu.client.domain.File")
public interface FileRequest extends RequestContext {

    abstract Request<java.lang.Long> countFiles();

    abstract Request<java.util.List<npap.cater.unr.edu.client.proxy.FileProxy>> findAllFiles();

    abstract Request<java.util.List<npap.cater.unr.edu.client.proxy.FileProxy>> findFileEntries(int firstResult, int maxResults);

    abstract Request<npap.cater.unr.edu.client.proxy.FileProxy> findFile(Long id);

    abstract InstanceRequest<npap.cater.unr.edu.client.proxy.FileProxy, java.lang.Void> persist();

    abstract InstanceRequest<npap.cater.unr.edu.client.proxy.FileProxy, java.lang.Void> remove();
}
